package 作业;

public class Animal {
    String name;
    int age;
    String color;
    Animal(String name,int age,String color){

    }
    void eat(){
        System.out.println("名字叫"+name+age+"岁了"+"颜色"+color);
    }
    void drink(){
        System.out.println(color+"颜色"+"");
    }
}
